﻿namespace Sidvall.AuthorizationManager.UI.ViewModels
{
    public partial class AuthorizationScopeResourceItemClaimCollectionViewModel : Sidvall.AuthorizationManager.UI.ViewModels.Core.EntityListViewModelBase<global::Sidvall.AuthorizationManager.UI.Entities.AuthorizationScopeResourceItemClaimCollection, global::Sidvall.AuthorizationManager.UI.Entities.AuthorizationScopeResourceItemClaim>
    {
        protected override string ViewModelResource
        {
            get 
            { 
                return global::Sidvall.AuthorizationManager.Data.Model.DomainObjects.AuthorizationScopeResourceItemClaim;
            }
        }

        protected override async System.Threading.Tasks.Task<global::Sidvall.AuthorizationManager.UI.Entities.AuthorizationScopeResourceItemClaimCollection> SaveItemAsync(global::Sidvall.AuthorizationManager.UI.Entities.AuthorizationScopeResourceItemClaimCollection item)
        {
            return await item.SaveItemsAsync();
        }
    }
}